package com.relytosoft.mizar.media.common.entity.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.List;

/**
 * ComparisonTaskReqDto
 *
 * @Author SunLi
 * @Date: 2022/6/8 9:55
 * @Version 1.0
 */
@ApiModel("以图搜图任务请求实体")
public class ComparisonTaskReqDto implements Serializable {

    private static final long serialVersionUID = -3009125504804447591L;
    /**
     * 比对任务标识
     */
    @ApiModelProperty(value = "比对任务标识")
    private String comparisonTaskId;
    /**
     * 开始时间,毫秒
     */
    @ApiModelProperty(value = "开始时间,毫秒")
    private Long beginTime;
    /**
     * 结束时间,毫秒
     */
    @ApiModelProperty(value = "结束时间,毫秒")
    private Long endTime;
    /**
     * 设备ID集合
     */
    @ApiModelProperty(value = "设备ID集合")
    List<String> deviceIds;
    /**
     * 特征值
     */
    @ApiModelProperty(value = "特征值")
    private String feature;
    /**
     *  1 行人， 2 机动车， 3 非机动车
     */
    @ApiModelProperty(value = "数据类型  1 行人， 2 机动车， 3 非机动车")
    private Integer dataType;
    /**
     * 相似度
     */
    @ApiModelProperty(value = "相似度")
    private Integer threshold;
    /**
     * 最大返回条数
     */
    @ApiModelProperty(value = "最大返回条数")
    private Integer top;

    public String getComparisonTaskId() {
        return comparisonTaskId;
    }

    public void setComparisonTaskId(String comparisonTaskId) {
        this.comparisonTaskId = comparisonTaskId;
    }

    public Long getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Long beginTime) {
        this.beginTime = beginTime;
    }

    public Long getEndTime() {
        return endTime;
    }

    public void setEndTime(Long endTime) {
        this.endTime = endTime;
    }

    public List<String> getDeviceIds() {
        return deviceIds;
    }

    public void setDeviceIds(List<String> deviceIds) {
        this.deviceIds = deviceIds;
    }

    public String getFeature() {
        return feature;
    }

    public void setFeature(String feature) {
        this.feature = feature;
    }

    public Integer getDataType() {
        return dataType;
    }

    public void setDataType(Integer dataType) {
        this.dataType = dataType;
    }

    public Integer getThreshold() {
        return threshold;
    }

    public void setThreshold(Integer threshold) {
        this.threshold = threshold;
    }

    public Integer getTop() {
        return top;
    }

    public void setTop(Integer top) {
        this.top = top;
    }

    @Override
    public String toString() {
        return "ComparisonTaskReqDto{" +
                "comparisonTaskId='" + comparisonTaskId + '\'' +
                ", beginTime=" + beginTime +
                ", endTime=" + endTime +
                ", deviceIds=" + deviceIds +
                ", feature='" + feature + '\'' +
                ", dataType=" + dataType +
                ", threshold=" + threshold +
                ", top=" + top +
                '}';
    }
}
